#!/bin/bash
gcc ./cgic/config.c ../common/cgic/src/*.c ../common/utils/src/*.c -I../common/utils/inc  -I../common/cgic/inc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -lglib-2.0 -o ./bin/config.cgi
cp ./html/index.html /home/guoxi/boa/www/
cp ./bin/config.cgi /home/guoxi/boa/cgi-bin/
cp ./config/config.ini /home/guoxi/boa/config/